package com.mss.media.enumeration;

import com.baomidou.mybatisplus.annotation.IEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum AUDIT implements IEnum<Integer> {

    /**
     * 审核中
     */
    ING(0,"审核中"),
    /**
     * 审核通过
     */
    PASS(1,"审核通过"),
    /**
     * 审核未通过
     */
    NOT_PASS(2,"审核未通过");

    private final Integer code;
    private final String desc;

    @Override
    public Integer getValue() {
        return code;
    }

    @Override
    public String toString() {
        return this.desc;
    }

}
